#pragma once
#include <iostream>
#include <string>
class Sock;
class EpollSever;
class Epoll;
template <class T>
class PthreadPool;
template <class T>
struct Data
{
    int _fd;
    std::string _inbuffer;
    std::string _outbuffer;
    EpollSever *_epfd = nullptr;
    Sock *_sock = nullptr;
    Epoll* _eptr= nullptr;
    PthreadPool<T>* _ptr = nullptr;
};